package com.starlight.flower_server.infrastructure.repository;

import com.starlight.flower_server.infrastructure.entity.Item;
import com.starlight.flower_server.infrastructure.entity.LoginInfo;
import com.starlight.flower_server.infrastructure.entity.Order;

import java.util.List;

/**
 * @Author yfy2001
 * @date 2023/4/19 8:58
 */
public interface LoginInfoRepository {

      LoginInfo queryDetail(Long id);

      Integer insert(LoginInfo loginInfo);

      List<LoginInfo> queryListByFlowerUserIdLatest10(Long flowerUserId);

      List<LoginInfo> queryAllListByFlowerUserId(Long flowerUserId);

      List<LoginInfo> queryAll();

      Long queryTotalCount();

      Integer removeAllByFlowerUserId(Long flowerUserId);

}